package com.sky.mapper;

import com.sky.annotation.AutoFill;
import com.sky.entity.Setmeal;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SetmealMapper {


    @Select("select * from setmeal where category_id = #{categoryId}")
    List<Setmeal> setmeallist(Integer categoryId);

    @Select("select * from setmeal where id = #{id}")
    Setmeal getById(Long setmealId);
}
